﻿namespace bGallery.Core.Common
{
	/// <summary>
	/// Base class for all bGallery user controls
	/// adds SignedInUser to all controls based on this class
	/// </summary>
	public class UserControl : Spring.Web.UI.UserControl
	{
		#region Private fields

		private Domain.User signedUser;

		#endregion

		#region Public properties

		/// <summary>
		/// Signed in user
		/// </summary>
		public Domain.User SignedInUser
		{
			set { signedUser = value; }
			get { return signedUser; }
		}

		#endregion
	}
}
